package cn.com.swu.mianyangapp.ui.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.sql.Timestamp;

public class News implements Serializable {
    private int news_id; //新闻id
    private String news_name; //新闻名
    private String news_author; //新闻作者
    private int news_author_id; //新闻作者id
    private String news_belong; //新闻所属类别
    private int news_status; //新闻属于草稿还是正式发布

    private String news_time; //新闻创建时间
    private String news_context; //新闻内容
    private String news_image_name; //新闻封面
    private String news_image_url; //新闻封面路径
    private int news_allow; //新闻是否允许评论
    private int news_top; //新闻是否置顶

    public News() {
    }


    public int getNews_id() {
        return news_id;
    }

    public void setNews_id(int news_id) {
        this.news_id = news_id;
    }

    public String getNews_name() {
        return news_name;
    }

    public void setNews_name(String news_name) {
        this.news_name = news_name;
    }

    public String getNews_author() {
        return news_author;
    }

    public void setNews_author(String news_author) {
        this.news_author = news_author;
    }

    public int getNews_author_id() {
        return news_author_id;
    }

    public void setNews_author_id(int news_author_id) {
        this.news_author_id = news_author_id;
    }

    public String getNews_belong() {
        return news_belong;
    }

    public void setNews_belong(String news_belong) {
        this.news_belong = news_belong;
    }

    public int getNews_status() {
        return news_status;
    }

    public void setNews_status(int news_status) {
        this.news_status = news_status;
    }

    public String getNews_context() {
        return news_context;
    }

    public void setNews_context(String news_context) {
        this.news_context = news_context;
    }

    public String getNews_image_name() {
        return news_image_name;
    }

    public void setNews_image_name(String news_image_name) {
        this.news_image_name = news_image_name;
    }

    public String getNews_image_url() {
        return news_image_url;
    }

    public void setNews_image_url(String news_image_url) {
        this.news_image_url = news_image_url;
    }

    public int getNews_allow() {
        return news_allow;
    }

    public void setNews_allow(int news_allow) {
        this.news_allow = news_allow;
    }

    public int getNews_top() {
        return news_top;
    }

    public void setNews_top(int news_top) {
        this.news_top = news_top;
    }

    public String getNews_time() {
        return news_time;
    }

    public void setNews_time(String news_time) {
        this.news_time = news_time;
    }
}
